<template>
  <div>{{articleList.article}}</div>
</template>

<script>
export default {
    name: 'Sun',
    watch: {
        articleList: function() {
            
        }
    },
    data(){
        return{
            params: {},
            articleList: {
                article: ''
            }
        }
    },
    methods: {
        setarticle:function(data){
            console.log("调用子组件成功")
            this.articleList = data
            // var dat = JSON.parse(data)
            // console.log('数据：', dat.articleContent)
        }
    }
}
</script>

<style>

</style>